package com.cqq.common.core.base;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * <h3>基类 Bean</h3>
 *
 * <p>
 * 所有 Java Bean 的基类，实现了序列化接口，重写了 toString() 方法，方便日志输出和调试。
 * </p>
 * 
 * @author xijq
 * @version 1.0.0
 * 
 */
public abstract class BaseBean implements Serializable {

	private static final long serialVersionUID = -7061167249847863170L;

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}

}
